<?php
/*
* Copyright (c) 2010 by Cediti
*
* You may distribute under the terms of either the GNU Lesser General
* Public License or the new BSD License, as specified in the README file.
*/

interface Cmis_Services_ACL extends Cmis_Services_Interface
{
	/**
	 * Get the ACL currently applied to the specified document or folder object.
	 * @param Cmis_Repository_Id $repositoryId The identifier for the repository.
	 * @param Cmis_Repository_Id $objectId The identifier for the object
	 * @param bool $onlyBasicPermissions
	 *  The repository SHOULD make a best effort to fully express the native security
	 *  applied to the object :
	 *     TRUE: (default value if not provided) indicates that the client
	 *      requests that the returned ACL be expressed using only the CMIS Basic
	 *      permissions.
	 *     FALSE: indicates that the server may respond using either solely CMIS
	 *      Basic permissions, or repository specific permissions or some combination
	 *      of both.
	 */
	public function getACL($repositoryId, $objectId, $onlyBasicPermissions = true);
	public function applyACL();
}

# EOF
